package com.wtoip.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wtoip.dao.UserVOMapper;
import com.wtoip.domain.UserVO;
import com.wtoip.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {
	
	@Autowired
	private UserVOMapper userDAO;
	
	@Override
	public UserVO getUserById(Integer userId) {
		UserVO userVO = userDAO.selectByPrimaryKey(userId);
		return userVO;
	}
}
